package com.fpx.pc.data.listener;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

import com.fpx.pc.CostCalculationActivity;

public class GoCostCalculationListener implements OnClickListener {

	private Context context;
	public GoCostCalculationListener(Context context) {
		super();
		this.context = context;
	}
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		Intent intent = new Intent();
		intent.setClass(context, CostCalculationActivity.class);
		context.startActivity(intent);
		((Activity) context).finish();
	}
}
